package o;

import android.content.Context;
import android.content.Intent;
import android.content.pm.ResolveInfo;
import java.util.Arrays;
import java.util.List;

public class eee {
    private static final List<String> ॱ = Arrays.asList(new String[]{"LanguageSelectActivity", "WizardActivity"});

    public static boolean ˊ() {
        return azc.ˎ().ॱ() >= 21;
    }

    public static boolean ॱ(Context context) {
        for (ResolveInfo resolveInfo : context.getPackageManager().queryIntentActivities(new Intent("android.intent.action.MAIN").addCategory("android.intent.category.DEFAULT").addCategory("android.intent.category.HOME").setPackage("com.huawei.hwstartupguide"), 0)) {
            if (!(resolveInfo.activityInfo == null || resolveInfo.activityInfo.name == null)) {
                String str = resolveInfo.activityInfo.name;
                for (String contains : ॱ) {
                    if (str.contains(contains)) {
                        return true;
                    }
                }
                continue;
            }
        }
        return false;
    }
}
